Optimal. Leaf size=46 \[ \frac {\left (a+b x^2\right )^{3/2} (A b-a B)}{3 b^2}+\frac {B \left (a+b x^2\right )^{5/2}}{5 b^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {444, 43} \[ \frac {\left (a+b x^2\right )^{3/2} (A b-a B)}{3 b^2}+\frac {B \left (a+b x^2\right )^{5/2}}{5 b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 444
Rubi steps
\begin {align*} \int x \sqrt {a+b x^2} \left (A+B x^2\right ) \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \sqrt {a+b x} (A+B x) \, dx,x,x^2\right )\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \left (\frac {(A b-a B) \sqrt {a+b x}}{b}+\frac {B (a+b x)^{3/2}}{b}\right ) \, dx,x,x^2\right )\\ &=\frac {(A b-a B) \left (a+b x^2\right )^{3/2}}{3 b^2}+\frac {B \left (a+b x^2\right )^{5/2}}{5 b^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 34, normalized size = 0.74 \[ \frac {\left (a+b x^2\right )^{3/2} \left (-2 a B+5 A b+3 b B x^2\right )}{15 b^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.92, size = 50, normalized size = 1.09 \[ \frac {{\left (3 \, B b^{2} x^{4} - 2 \, B a^{2} + 5 \, A a b + {\left (B a b + 5 \, A b^{2}\right )} x^{2}\right )} \sqrt {b x^{2} + a}}{15 \, b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.31, size = 44, normalized size = 0.96 \[ \frac {3 \, {\left (b x^{2} + a\right )}^{\frac {5}{2}} B - 5 \, {\left (b x^{2} + a\right )}^{\frac {3}{2}} B a + 5 \, {\left (b x^{2} + a\right )}^{\frac {3}{2}} A b}{15 \, b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 31, normalized size = 0.67 \[ \frac {\left (b \,x^{2}+a \right )^{\frac {3}{2}} \left (3 B b \,x^{2}+5 A b -2 B a \right )}{15 b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.98, size = 50, normalized size = 1.09 \[ \frac {{\left (b x^{2} + a\right )}^{\frac {3}{2}} B x^{2}}{5 \, b} - \frac {2 \, {\left (b x^{2} + a\right )}^{\frac {3}{2}} B a}{15 \, b^{2}} + \frac {{\left (b x^{2} + a\right )}^{\frac {3}{2}} A}{3 \, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.54, size = 53, normalized size = 1.15 \[ \sqrt {b\,x^2+a}\,\left (\frac {B\,x^4}{5}-\frac {2\,B\,a^2-5\,A\,a\,b}{15\,b^2}+\frac {x^2\,\left (5\,A\,b^2+B\,a\,b\right )}{15\,b^2}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.37, size = 110, normalized size = 2.39 \[ \begin {cases} \frac {A a \sqrt {a + b x^{2}}}{3 b} + \frac {A x^{2} \sqrt {a + b x^{2}}}{3} - \frac {2 B a^{2} \sqrt {a + b x^{2}}}{15 b^{2}} + \frac {B a x^{2} \sqrt {a + b x^{2}}}{15 b} + \frac {B x^{4} \sqrt {a + b x^{2}}}{5} & \text {for}\: b \neq 0 \\\sqrt {a} \left (\frac {A x^{2}}{2} + \frac {B x^{4}}{4}\right ) & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________